<template>
  <el-card body-style="padding:0px">
    <!--            标题-->
    <div class="card-title"><slot name="cardHeader" /></div>
    <!--            内容显示-->
    <div class="card-body" style="padding: 20px"><slot name="cardBody" /></div>
  </el-card>
</template>

<script>
export default {
  name: 'Card'
}
</script>

<style scoped lang="scss">

  .el-card{
    border: 0;
  }
  .card-title{
    font-size: 12px;
    background-color: #f3f3f3;
    padding:10px;
    height: 40px;
    line-height: 20px;
  }
  .card-body {
    font-size: 12px;
  }

</style>
